<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>登录成功</title>
</head>
<body>
登录成功
${info}
<shiro:hasRole name="admin">
    <div>
        欢迎有admin角色的用户
    </div>
</shiro:hasRole>
<shiro:hasPermission name="user:select">
    <div>
        欢迎有stu：查看权限的用户
    </div>
</shiro:hasPermission>
</body>
</html>
